package com.bless.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bless.common.annotation.Excel;
import com.bless.common.core.domain.BaseEntity;

/**
 * 资源对象 sys_file_source
 *
 * @author bless
 * @date 2023-06-16
 */
public class SysFileSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 祝福语ID */
    @Excel(name = "祝福语ID")
    private Long blessId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 资源路径 */
    @Excel(name = "资源路径")
    private String fileUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBlessId(Long blessId)
    {
        this.blessId = blessId;
    }

    public Long getBlessId()
    {
        return blessId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("blessId", getBlessId())
            .append("type", getType())
            .append("fileUrl", getFileUrl())
            .toString();
    }
}
